/**
 * Copyright (c) 2014 zhenrongbao.com, Inc. All Rights Reserved
 * @author: jiangshuguang
 * @Date  : 14-11-16
 * @Time  : 下午1:16
 * @brief :
 */
exports.copyright = function () {
   var $widget =  $('.widget-copyright');

    $widget.find('.weixin').click(function(e){
        e.stopPropagation();
        $widget.find('.tip').hide();
        $widget.find('.weixin-tip').show();
    });
    $widget.find('.qq').click(function(e){
        e.stopPropagation();
        $widget.find('.tip').hide();
        $widget.find('.qq-tip').show();
    });

    $widget.find('.qq-tip').click(function(e){
        e.stopPropagation();
    });

    $('body').click(function(){
        $widget.find('.tip').hide();
    })
};